﻿using System;
using System.Collections.Generic;
using System.Text;
using DuckGame1._0.Quack;
using DuckGame1._0.Fly;

namespace DuckGame1._0.Duck
{
   public class RedHeadDuck:DuckBase
    {
        public override string Display()
        {
            return "我是旱鸭子";

        }
        public RedHeadDuck()
        {
            base.flyBehavior = new FlyNoWay();
            base.QuackBehavior =new Quack2();
        }
    }
}
